package com.bidevalution.business.impl;

import com.bidevalution.business.service.BeExpertSpecialityService;
import com.bidevalution.dao.entity.BeExpertSpeciality;
import com.bidevalution.dao.mapper.BeExpertSpecialityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BeExpertSpecialityServiceImpl implements BeExpertSpecialityService{
	@Autowired
	private BeExpertSpecialityMapper beExpertSpecialityMapper;
	@Override
	public List<BeExpertSpeciality> selectChildList(Integer parentId) {
		// TODO Auto-generated method stub
		return beExpertSpecialityMapper.selectChildList(parentId);
	}
	@Override
	public List<BeExpertSpeciality> selectAllList() {
		// TODO Auto-generated method stub
		return beExpertSpecialityMapper.selectAllList();
	}

	@Override
	public BeExpertSpeciality getSpecialityByName(String name) {
		return beExpertSpecialityMapper.selectByName(name);
	}

}
